package cn.z2huo.demo.spring.quartz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;

/**
 * <p>
 *
 * @author z2huo
 */
@SpringBootApplication
public class QuartzApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(QuartzApplication.class, args);
        ConfigurableEnvironment environment = run.getEnvironment();
        System.out.println(environment.getProperty("spring.profiles.active"));
        System.out.println(environment.getProperty("spring.quartz.job-store-type"));
    }

}
